package com.shz.appletsapi.model.po;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

import lombok.Data;

@Data
@Entity
@Table(name = "mine_heartbeat_realtime")
public class MineHeartbeatRealtime implements Serializable {
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 9149066909952556936L;
	@Id
	@GeneratedValue(strategy = GenerationType.IDENTITY)
	private Integer id;
	@Column(name = "tsid")
	private String tsid;//PC编号
	@Column(name = "curr_mem")
	private Integer curr_mem;//当前内存大小，单位MB
	@Column(name = "curr_time")
	private String curr_time;//当前挖矿时间
	@Column(name = "is_working")
	private Integer is_working;//是否正在挖矿0：在挖矿， 1：空闲
	@Column(name = "curr_cpurate")
	private String curr_cpurate;//CPU使用用率
	@Column(name = "curr_ram_rate")
	private Integer curr_ram_rate;//当前内存使用率
	@Column(name = "nowcount")
	private Integer nowcount;//是本次开机的第几次心跳
	@Column(name = "curr_procnum")
	private Integer curr_procnum;//当前进程数
	@Column(name = "curr_cpufans")
	private String curr_cpufans;//当前CPU风扇转速单位:转/秒如：100/s
	@Column(name = "curr_cputemp")
	private Integer curr_cputemp;//但前CPU温度
	@Column(name = "curr_graph_num")
	private Integer curr_graph_num;//当前显卡数量
	@Column(name = "curr_graph_buswidth")
	private String curr_graph_buswidth;//GPU的位宽比如64bit
	@Column(name = "curr_graph_memtype")
	private String curr_graph_memtype;//GPU的内存型号，如：DDR4 
	@Column(name = "curr_graph_temp")
	private Integer curr_graph_temp;//GPU的温度
	@Column(name = "curr_graph_fans")
	private String curr_graph_fans;//GPU的风扇转速:转/秒如：100/s
	@Column(name = "miner_version")
	private String miner_version;//客户端版本号，如：“1.0.0”
	@Column(name = "diff")
	private String diff;  //算力
	@Column(name = "create_time")
	private Date create_time;

}
